SharedAndroidApplicationConventionPlugin

Convention plugin for the Android application module.

Applies the AGP application + Compose-compiler plugins and the shared android config (compileSdk 37, Java 25, Compose enabled). App-specific config (applicationId, minSdk/targetSdk, version, buildTypes, testOptions) stays in the app's own android { } block.

buildConfig is off by default (matches AGP 9's own default). An app that needs generated BuildConfig fields must opt back in itself via android { buildFeatures { buildConfig = true } }.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun apply(target: Project)